import ajax from './ajax'

const BASE_URL = 'http://localhost:8090/api/'

/*
包含多个接口请求函数的模块
*/
// 1.插入标签
export const reqInsertLabel = ({ map }) => ajax(BASE_URL + 'label/insert', { map }, 'POST')

// 2.

// export const reqUser = (geohash)=>ajax('/position/${geohash}')
// export const reqUser = (mobile,password)=>ajax('/expert/login',{mobile,password})
// export const reqUser = ({mobile,password})=>ajax('/position')
